#ifndef HPLC_QINFINE_AUTOSAMPLER_PARSESYSTEMPACKET_H
#define HPLC_QINFINE_AUTOSAMPLER_PARSESYSTEMPACKET_H

#include <QObject>
#include "modulehplcautosamplerdefine.h"

namespace hplc
{
namespace qinfine
{

class AutoSamplerProtocolData;
class AutoSamplerParseSystemPacket : QObject
{
    Q_OBJECT

public:
    AutoSamplerParseSystemPacket(AutoSamplerProtocolData &data, AutoSamplerParam &param, QObject *parent = nullptr);

    void parseSet(quint8 pfc, char *data);
    void parseGet(quint8 pfc, char *data);

signals:
    void setWorkMode(quint8 workMode);
    void setXMan(quint8 isStart);
    void setYMan(quint8 isStart);
    void setValveMan(quint8 isStart);
    void setXHome(quint8 isStart);


protected:
    AutoSamplerProtocolData *m_d = nullptr;

    AutoSamplerParam 		*m_param;

};

} // qinfine
} // hplc

#endif // HPLC_QINFINE_AUTOSAMPLER_PARSESYSTEMPACKET_H
